package com.zbkj.common.request;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 城市区域请求对象
 +----------------------------------------------------------------------
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CityRegionRequest对象", description = "城市区域请求对象")
public class CityRegionRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "区域id")
    private String disId;

    @ApiModelProperty(value = "区域名称")
    private String name;

    @ApiModelProperty(value = "区域类型，0-国家、1-省、2-市、3-区、4-街道 5-街道")
    private Integer level;

    @ApiModelProperty(value = "省Id")
    private String provinceId;

    @ApiModelProperty(value = "省名称")
    private String provinceName;

    @ApiModelProperty(value = "市id")
    private String cityId;

    @ApiModelProperty(value = "市名称")
    private String cityName;

    @ApiModelProperty(value = "区/县id")
    private String districtId;

    @ApiModelProperty(value = "区/县名称")
    private String districtName;

    @ApiModelProperty(value = "镇/街道id")
    private String townId;

    @ApiModelProperty(value = "镇/街道名称")
    private String townName;

    @ApiModelProperty("村id")
    private String villageId;

    @ApiModelProperty(value = "村名称")
    private String villageName;

    @ApiModelProperty(value = "区域名称全路径")
    private String fullName;

    @ApiModelProperty("区域id全路径")
    private String fullDisId;

    @ApiModelProperty("上级disId")
    private String parentDisId;


}
